import {
  post,
  get,
  get_from,
  up_excel
} from '../utils/serveice'

//获得所有的菜单列表
export function getMenuList(url, data) {
  return post(url, data)
}

//增加菜单
export function addMenu(url, data) {
  return post(url, data)
}

//编辑菜单
export function editMenu(url, data) {
  return post(url, data)
}

//删除菜单
export function deleteMenu(url, data) {
  return post(url, data)
}

//获取菜单
export function getMenu(url, data) {
  return post(url, data)
}
